<?php

namespace app\common;

class Status
{
    /** 操作成功 **/
    const SUCCESS = 200;
    /** 操作失败 **/
    const FAILED = 402;
    /** 参数错误 **/
    const ARGS_ERROR = 400;
    /** token错误 **/
    const NOT_TOKEN = 401;
    /**查询为空**/
    const NULL_DATA = 403;
    /**系统错误**/
    const SYSTEM_ERROR = 500;
    /**密码错误**/
    const PASSWORD_ERROR = 505;
    /**答题错误**/
    const ANSWER_ERROR = 406;
    /**答题结束**/
    const ANSWER_OVER = 407;
    /**账号锁定**/
    const ACCOUNT_LOCK = 411;
    /**ID为空**/
    const ID_ERROR = 636;
    /**图形验证码错误**/
    const PICTURE_CHECK_ERROR = 650;

    //登陆注册
    /**手机号错误**/
    const MOBILE_ERROR = 601;
    /**用户名错误**/
    const NAME_ERROR = 602;
    /**密码错误**/
    const PWD_ERROR = 603;
    /**确认密码错误**/
    const REPWD_ERROR = 604;
    /**验证码错误**/
    const CODE_ERROR = 605;
    /**手机号错误**/
    const INVITE_ERROR = 606;
    /**区号错误**/
    const AREACODE_ERROR = 607;
    /**交易密码错误**/
    const DEALPWD_ERROR = 608;
    /**确认交易密码错误**/
    const REDEALPWD_ERROR = 609;
    /**实名认证错误**/
    const AUTH_NAME_ERR = 610;
    /**图片上传错误**/
    const PICTURE_ERROR = 611;
    /**国家或地区不能为空**/
    const COUNTRY_NULL_ERROR = 631;
    /**证件类型不能为空**/
    const CERT_TYPE_ERROR = 632;
    /**证件号不能为空**/
    const CERT_NULL_ERROR = 633;
    /**证件号错误**/
    const CERT_NUM_ERROR = 634;
    /**图片不能为空**/
    const PICTURE_NULL_ERROR = 635;
    /**请先提交实名认证申请**/
    const APPLE_AUTH_ERROR = 636;
    /**认证失败**/
    const REAL_AUTH_ERROR = 637;
    /**认证失败，提交人工审核**/
    const MANUAL_AUDIT = 638;
    /**语言验证失败**/
    const VOICE_FAIL = 639;
    /**人脸识别成功，提交人工审核**/
    const FACE_MANUAL_AUDIT = 640;
    /**未检测到人脸**/
    const PICTURE_NOT_REAL = 641;
    /**已通过认证**/
    const ALREADY_AUTH_SUCCESS = 642;


    /**提现相关接口**/
    // 提币地址字段
    const ADDRESS_ERROR = 701;
    // 提币币种字段
    const COIN_ERROR = 702;
    // 提币数量字段
    const WITH_AMOUNT_ERROR = 703;
    // 币种名错误
    const COIN_NAME_ERROR = 704;

    /**资金兑换相关接口**/
    // 金额字段
    const MONEY_ERROR = 708;
    // 兑换类型
    const EXCHANGE_TYPE = 709;
    // 兑换中
    const IN_EXCHANGE = 710;
    // 兑换锁定
    const EXCHANGE_LOCK = 711;


    /**签名校验**/
    // 签名参数错误
    const PARAM_ERR = 900;
    // 签名已过期
    const SIGN_OVERDUE = 901;
    // 签名参数错误
    const SIGN_FAIL = 902;


    /**CC**/
    const IS_CC = 1101;

    const VERIFY_PAST_CODE = 428;//验证码过期

    const VERIFY_ERROR_CODE = 429;//验证码错误

    const VERIFY_CODE = 414;//验证码

    const EMAIL_ERR = 427;//邮箱错误

    const SUFFIX = 413;//短信验证码后缀

    const INVITE_ERR = 410;//邀请码

    /**WebSocket**/
    const NO_TOKEN = 1001;
    const LOGIN_EXPIRE = 1002;
    const NO_USER = 1003;
    const TOKEN_ERR = 1004;
    const REPEAT_CONNECT = 1006;
}
